package com.nutstudio.feitoys.Test;

/**
 * Created by Administrator on 2017/5/2 0002.
 */

public class TestSingleton {
    private static TestSingleton instance;
    private TestSingleton(){}
    public static TestSingleton getInstance(){
        if (instance==null){
            synchronized (TestSingleton.class){
                if (instance==null){
                    instance=new TestSingleton();
                }
            }
        }
        return instance;
    }
    public  void getTest(){

    }
}
